package com.dongdongshop.operator.service;

import com.dongdongshop.operator.pojo.TbSpecification;
import com.dongdongshop.operator.pojo.TbSpecificationOption;

import java.util.List;

public interface SpecificationService {

    List<TbSpecification> getSpecification(String specName);

    List<TbSpecification> getByid(Long id);

    void updateSpecification(TbSpecification specification, String[] optionNameList, Integer[] orderList);

    void deleteSpecificationByIds(Long[] ids);

    void addSpecification(TbSpecification specification, String[] optionNameList, Integer[] orderList);

    List<TbSpecificationOption> getSpecificationOptionBySpecIds(Long specId);
}
